home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / T / The Hexulator 1.0.sit / The Hexulator 1.0 ƒ / Hexulator Instruction Manual.rsrc / TEXT_130.txt < prev    next >
Encoding:
Text File  |  1995-04-09  |  3.3 KB  |  101 lines

  1. Extended Hexulator
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  Extended Hexulator can operate in two modes: hex mode and decimal mode. You can switch between modes by the tilde key ([`] or [~]), or by the "Toggle Mode" command key (‚åò-M).
  24.  
  25.  
  26. Decimal and Hex Modes:
  27.     Decimal and Hex modes operate the same way in Extended Hexulator as in Basic Hexulator with the following exception:
  28.  ‚Ä¢ If a decimal number is too long to fit in the decimal register, the decimal (non-whole) portion will appear in the right register.
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. Memory Functions:
  55.     Hexulator supports four memory functions. The four functions are mapped to [Z] [X] [C] and [V], respectively, on the keyboard. 
  56.  
  57.  ‚Ä¢ MR: (Memory Recall) Pressing this button recalls the value stored in memory, overriding any value in the register.
  58.  ‚Ä¢ M+: (Add to Memory) Pressing this button adds the value currently in the register to the memory value.
  59.  ‚Ä¢ M-: (Subtract from Memory) Pressing this button subtracts the value currently in the register from the value in memory.
  60.  ‚Ä¢ CM: (Clear Memory) Pressing this button resets the value in memory to zero.
  61.     
  62.  
  63. Bitwise Operators:
  64.  At the top right of the Hexulator window are three buttons, marked &, |, and ^. These are the bitwise operators AND, inclusive OR, and exclusive OR (XOR) respectively. Bitwise operators compare the actual bits used in numbers. AND is true if the bit is 1 in both numbers. OR is true if the bit is 1 in either number. XOR is true if the bit is 1 in either number but not both.
  65.  For example, the number Ox0A (decimal 10) is represented as 1010 in binary. The number 0x07 (decimal 7) is represented as 0111.
  66.  
  67.  
  68.           0x0A (decimal 10)           0x07 (decimal 7)
  69.  
  70.              eights (1)                 eights (0) 
  71.              |                          |     
  72.              |fours (0)                 |fours (1)              
  73.              ||                         ||
  74.              ||twos (1)                 ||twos (1)
  75.              |||                        |||
  76.              |||ones (0)                |||ones (1)
  77.              ||||                       ||||
  78.              1010                       0111
  79.  
  80.  
  81.                 1010                    1010                    1010
  82.         AND (&) 0111             OR (|) 0111            XOR (^) 0111
  83.         ------------             -----------            ------------
  84.                 0010                    1111                    1101
  85.  
  86.   0x0A & 0x07 = 0x02      0x0A | 0x07 = 0x0F      0x0A ^ 0x07 = 0x0D
  87.        ( 10 & 7 = 2)          ( 10 | 7 = 15)          ( 10 ^ 7 = 13)
  88.  
  89.  
  90.  
  91. Binary Display:
  92.  The top right button, marked 'BIN', toggles the binary display. When on, the decimal display is replaced by thirty-two binary digits which represent the number in the hex register. Hit the 'BIN' button again to turn the binary display off.
  93.  The binary display option is also available from the Hexulator menu.
  94.  
  95.     Each digit in the hex register is represented by four binary digits. The hex value 0x00 is 0000, and the hex value 0x0F is 1111. Therefore the eight-digit hex register is represented by 32 binary digits, the first group of four binary digits representing the first hex digit, the second four binary digits representing the second hext digit, and so on.
  96.  
  97. Example: hex value 0x12345678 in binary is 00010010001101000101011001111000.
  98.  
  99. Hex   :    1    2    3    4    5    6    7    8
  100. Binary:   0001 0010 0011 0100 0101 0110 0111 1000.
  101.